#pragma once
#include "EnemyUnit.h"
#include "../SGD Wrappers/SGD_Listener.h"
#include "../SGD Wrappers/SGD_Handle.h"
#include "Timer.h"



class Officer : public EnemyUnit, public SGD::Listener
{

	BaseBehavior* currBehavior = nullptr;
	bool isAlive = true;

public:
	Officer();
	~Officer();

	virtual void Update(float dt)	 override;
	//virtual void Render()			 override;
	virtual void HandleEvent(const SGD::Event* pEvent);
	virtual void HandleCollision(const IBase* pOther) override;

	//virtual SGD::Rectangle	GetRect(void)	const;
	virtual int GetType(void) const override { return OBJ_OFFICER; }

	void RetrieveBehavior(std::string name);
	virtual void Attack() override;


};

